package cn.have.dao;

import cn.have.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.aspectj.weaver.ast.Or;

@Mapper
public interface OrderDao {

    //创建订单
    void create(Order order);

    //修改订单金额
    void update(@Param("userId") Long userId, @Param("status") Integer status);
}
